package com.tlx.design.prototype.simple;

import java.util.ArrayList;

public class Prototype implements Cloneable {
    public ArrayList list = new ArrayList<String>();
    @Override
    protected Object clone() throws CloneNotSupportedException {
        Prototype prototype = null;
        prototype = (Prototype) super.clone();
        prototype.list = (ArrayList<String>) list.clone();
        return prototype;
    }
}
